package com.ruoyi.project.system.domain.vo;

import com.ruoyi.project.system.domain.ReportProductRecord;
import lombok.Data;
import java.util.List;

@Data
public class Report extends BaseReport {

    private Integer id;

    private String name;

    private String sex;

    private String age;

    private String tel;

    private String IDNumber;

    private Boolean blackList;

    private List<ReportProductRecord> rpp;

    public Report() {
    }

    public Report(BaseReport bp, BeiDiaoVo bdv) {
        if (bp !=null){
            this.setOrderNo(bp.getOrderNo());
            this.setTelStatus(bp.getTelStatus());
            this.setTelLocal(bp.getTelLocal());
            this.setIdCardLocal(bp.getIdCardLocal());
            this.setTwoEleCheck(bp.getTwoEleCheck());
            this.setThrEleCheck(bp.getThrEleCheck());
            this.setOnlineTime(bp.getOnlineTime());
            this.setCarrier(bp.getCarrier());
            this.setRecentlyTime(bp.getRecentlyTime());
        }
        this.name = bdv.getName();
        this.tel = bdv.getTel();
        this.IDNumber = bdv.getIdNumber();
    }
}
